//package nancal.mp.db.es.entity.standardlog
//
//
//import nbcp.base.db.annotation.*
//import nbcp.base.db.annotation.*
//import nbcp.base.db.IdName
//import nbcp.myoql.db.comm.IkFieldDefine
//import java.io.Serializable
//import java.time.LocalDateTime
//
//
//@DbName("sys-log")
//@DbEntityGroup("system")
//class StandardSysLog : Serializable {
//    private val id = ""
//    private val module = "" //模块,多级模块用.分隔
//    private val level = "" //类型， error,warn,info
//    private val tags = ArrayList<String>() //实体标志, 查询用： module + key
//    private val msg = "" //消息
//    private val request = RequestLogData() //请求数据
//    private val data: Any? = null //程序处理数据
//    private val response = ResponseLogData() //回发数据
//    private val createAt = LocalDateTime.now()
//    private val creator = IdName()
//}
//
//@IkFieldDefine(
//    "url",
//    "body",
//)
//class RequestLogData : HashMap<Any?, Any?>(), Serializable {
//    var url: String? = null
//    var method: String? = null
//    var traceId: String? = null
//
//    var body: String? = null
//    var header: HashMap<String, String>? = null
//    var clientIP: String? = null
//}
//
//@IkFieldDefine(
//    "body",
//    "result",
//)
//class ResponseLogData : HashMap<Any?, Any?>(), Serializable {
//    var status: Int? = null
//    var body: String? = null
//    var header: HashMap<String, String>? = null
//    var result: String? = null
//}
